﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master"
    CodeBehind="ReciepeEntry.aspx.vb" Inherits="kitchenCompetition.ReciepeEntry" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table>
        <tr>
            <th class="item_desc">
                Enter your Recipe for Competition
            </th>
        </tr>
        <tr>            
            <td><asp:Label ID="lbMessageError" runat="server" EnableViewState="false"  ></asp:Label></td>
        </tr>
        <tr>
            <td align="left">
                <table>
                    <tr>
                        <td>
                            Name
                        </td>
                        <td>
                            <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                            <font color="Red">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtName"
                                    runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </font>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Email
                        </td>
                        <td>
                            <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                            <font color="Red">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtEmail"
                                    runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </font>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Price
                        </td>
                        <td>
                            £<asp:DropDownList ID="ddlPrice" runat="server">
                                <asp:ListItem Text="0.50" Value="0.50"></asp:ListItem>
                                <asp:ListItem Text="1.00" Value="1.00"></asp:ListItem>
                                <asp:ListItem Text="2.00" Value="2.00"></asp:ListItem>
                                <asp:ListItem Text="3.00" Value="3.00"></asp:ListItem>
                                <asp:ListItem Text="4.00" Value="4.00"></asp:ListItem>
                                <asp:ListItem Text="5.00" Value="5.00"></asp:ListItem>
                                <asp:ListItem Text="6.00" Value="6.00"></asp:ListItem>
                                <asp:ListItem Text="7.00" Value="7.00"></asp:ListItem>
                                <asp:ListItem Text="8.00" Value="8.00"></asp:ListItem>
                                <asp:ListItem Text="9.00" Value="9.00"></asp:ListItem>
                                <asp:ListItem Text="10.00" Value="10.00"></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>Picture</td>
                        
                        <td><asp:FileUpload ID="fpPic" runat="server" />
                        
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Duration
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlDurationHr" runat="server">
                                <asp:ListItem Text="00" Value="00"></asp:ListItem>
                                <asp:ListItem Text="01" Value="01"></asp:ListItem>
                                <asp:ListItem Text="02" Value="02"></asp:ListItem>
                                <asp:ListItem Text="03" Value="03"></asp:ListItem>
                            </asp:DropDownList>
                            :
                            <asp:DropDownList ID="ddlDurationMin" runat="server">
                                <asp:ListItem Text="00" Value="00"></asp:ListItem>
                                <asp:ListItem Text="05" Value="05"></asp:ListItem>
                                <asp:ListItem Text="10" Value="10"></asp:ListItem>
                                <asp:ListItem Text="15" Value="15"></asp:ListItem>
                                <asp:ListItem Text="20" Value="20"></asp:ListItem>
                                <asp:ListItem Text="25" Value="25"></asp:ListItem>
                                <asp:ListItem Text="30" Value="30"></asp:ListItem>
                                <asp:ListItem Text="35" Value="35"></asp:ListItem>
                                <asp:ListItem Text="40" Value="40"></asp:ListItem>
                                <asp:ListItem Text="45" Value="45"></asp:ListItem>
                                <asp:ListItem Text="50" Value="50"></asp:ListItem>
                                <asp:ListItem Text="55" Value="55"></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Reciepe Name
                        </td>
                        <td>
                            <asp:TextBox ID="txtRecipeName" runat="server"></asp:TextBox>
                            <font color="Red">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtRecipeName"
                                    ErrorMessage="*"></asp:RequiredFieldValidator>
                            </font>
                        </td>
                    </tr>
                    <tr>
                        <td>Select type of Recipe</td>
                        <td>
                        <asp:DropDownList ID="ddltypeRecipe" runat="server">
                        <asp:ListItem Text="Palaoo Biryani" Value="Palaoo Biryani" ></asp:ListItem>
                        <asp:ListItem Text="Chicken Biryani" Value="Chicken Biryani" ></asp:ListItem>
                        <asp:ListItem Text="Sindhi Biryani" Value="Sindhi Biryani" ></asp:ListItem>
                        <asp:ListItem Text="Karachi Biryani" Value="Karachi Biryani" ></asp:ListItem>
                        <asp:ListItem Text="Sajji Biryani" Value="Sajji Biryani" ></asp:ListItem>
                        </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td valign="top" >
                            Enter Reciepe
                        </td>
                        <td>
                            <asp:TextBox ID="txtRecipe" Columns="100" Rows="50" TextMode="MultiLine" runat="server"></asp:TextBox>
                            <font color="Red">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtRecipe"
                                    ErrorMessage="*"></asp:RequiredFieldValidator>
                            </font>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <asp:Button ID="btnSave" runat="server" Text="Save Recipe" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
